home *** CD-ROM | disk | FTP | other *** search
-
-
-
- MMMMPPPPIIII____TTTTEEEESSSSTTTTSSSSOOOOMMMMEEEE((((3333)))) MMMMPPPPIIII____TTTTEEEESSSSTTTTSSSSOOOOMMMMEEEE((((3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- MMMMPPPPIIII____TTTTeeeessssttttssssoooommmmeeee - Tests for specified communications to complete
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- C:
-
- #include <mpi.h>
-
- int MPI_Testsome( _i_n_c_o_u_n_t, _a_r_r_a_y__o_f__r_e_q_u_e_s_t_s, _o_u_t_c_o_u_n_t,
- _a_r_r_a_y__o_f__i_n_d_i_c_e_s, _a_r_r_a_y__o_f__s_t_a_t_u_s_e_s )
- int _i_n_c_o_u_n_t, *_o_u_t_c_o_u_n_t, _a_r_r_a_y__o_f__i_n_d_i_c_e_s[];
- MPI_Request _a_r_r_a_y__o_f__r_e_q_u_e_s_t_s[];
- MPI_Status _a_r_r_a_y__o_f__s_t_a_t_u_s_e_s[];
-
-
- C++:
-
- #include <mpi.h>
-
- static int Request::Testsome(
- int _i_n_c_o_u_n_t,
- Request _a_r_r_a_y__o_f__r_e_q_u_e_s_t_s[],
- int _a_r_r_a_y__o_f__i_n_d_i_c_e_s[])
-
-
- Fortran:
-
- INCLUDE "mpif.h" (or USE MPI)
-
- INTEGER _i_n_c_o_u_n_t, _a_r_r_a_y__o_f__r_e_q_u_e_s_t_s(*), _o_u_t_c_o_u_n_t,
- _a_r_r_a_y__o_f__i_n_d_i_c_e_s(*), _a_r_r_a_y__o_f__s_t_a_t_u_s_e_s(MPI_STATUS_SIZE,*),
- _i_e_r_r_o_r
-
- CALL MPI_TESTSOME(_i_n_c_o_u_n_t, _a_r_r_a_y__o_f__r_e_q_u_e_s_t_s(*), _o_u_t_c_o_u_n_t,
- _a_r_r_a_y__o_f__i_n_d_i_c_e_s(*), _a_r_r_a_y__o_f__s_t_a_t_u_s_e_s(MPI_STATUS_SIZE,*),
- _i_e_r_r_o_r)
-
-
- SSSSTTTTAAAANNNNDDDDAAAARRRRDDDDSSSS
- This release implements the MPI 1.2 standard, as documented by the MPI
- Forum in the spring 1997 release of _M_P_I: _A _M_e_s_s_a_g_e _P_a_s_s_i_n_g _I_n_t_e_r_f_a_c_e
- _S_t_a_n_d_a_r_d.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The MMMMPPPPIIII____TTTTeeeessssttttssssoooommmmeeee routine tests for specified communications to complete.
- This routine accepts the following parameters:
-
- _i_n_c_o_u_n_t Specifies the length of _a_r_r_a_y__o_f__r_e_q_u_e_s_t_s (integer)
-
- _a_r_r_a_y__o_f__r_e_q_u_e_s_t_s
- Specifies the array of requests (array of handles)
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- MMMMPPPPIIII____TTTTEEEESSSSTTTTSSSSOOOOMMMMEEEE((((3333)))) MMMMPPPPIIII____TTTTEEEESSSSTTTTSSSSOOOOMMMMEEEE((((3333))))
-
-
-
- _o_u_t_c_o_u_n_t Returns the number of completed requests (integer)
-
- _a_r_r_a_y__o_f__i_n_d_i_c_e_s
- Returns the array of indices of operations that completed
- (array of integers)
-
- _a_r_r_a_y__o_f__s_t_a_t_u_s_e_s
- Returns the array of status objects for operations that
- completed (array of status)
-
- _i_e_r_r_o_r Specifies the return code value for successful completion,
- which is in MPI_SUCCESS. MPI_SUCCESS is defined in the mmmmppppiiiiffff....hhhh
- file.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-